package com.gitee.mrj.aiboot.annotation.config.sf.ui;

import com.gitee.mrj.aiboot.annotation.config.KV;
import com.gitee.mrj.aiboot.annotation.config.SFPlacement;
import com.gitee.mrj.aiboot.annotation.config.SFTrigger;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
@Documented
public @interface SFOptionalHelp {

    String text() default "";

    /**
     * 文字提示背景颜色
     */
    String bgColor() default "";

    /**
     * 图标，默认：`question-circle`
     */
    String icon() default "question-circle";

    SFPlacement placement() default SFPlacement.TOP;

    SFTrigger trigger() default SFTrigger.HOVER;

    double mouseEnterDelay() default Double.MIN_VALUE;

    double mouseLeaveDelay() default Double.MIN_VALUE;

    String overlayClassName() default "";

    KV[] overlayStyle() default {};
}
